﻿@model blacksoft.Models.ProgramacionViaje

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<div class="block big">
    <div class="titlebar">
        <h3>Detalle Viaje</h3>
    </div>
    <div class="block_cont">
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.FechaSalida)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.FechaSalida)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Descripcion)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Descripcion)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.CapacidadPasajeros)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.CapacidadPasajeros)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.TipoServicio)
            </dt>

            <dd>
                @if (Model.TipoServicio == 1)
                {
                    @Html.Label("Económico")
                }
                else
                {
                    @Html.Label("VIP")
                }
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Precio)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Precio)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Estado)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Estado)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.FechaLlegada)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.FechaLlegada)
            </dd>
        </dl>

        <div style="padding-top:20px">
            <div class="titlebar">
                <h3>Productos Necesarios</h3>
            </div>

            <table style="background: #363D47">
                <tr>
                    <td>
                        @Html.TextBox("Nombre", "Nombre", new { @style = "width:150px; color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Descripción", "Descripción", new { @style = "width:150px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Cantidad", "Cantidad", new { @style = "width:100px;color: white;:#363D47;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Unidad", "Unidad de Medida", new { @style = "width:130px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                </tr>
            </table>
            @Html.EditorFor(model => model.Productos)
            </div>
            <div style="padding-top:50px">
                <div class="titlebar">
                    <h3>Choferes Seleccionados</h3>
                </div>
                @Html.ValidationMessage("ErrorMinChoferes")

                <table style="background: #363D47">
                    <tr>
                        <td>
                            @Html.TextBox("ApellidoPaterno", "Apellido Paterno", new { @style = "width:150px; color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        <td>
                            @Html.TextBox("ApellidoMaterno", "Apellido Materno", new { @style = "width:150px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        <td>
                            @Html.TextBox("Nombre", "Nombre", new { @style = "width:130px;color: white;:#363D47;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        <td>
                            @Html.TextBox("DNI", "DNI", new { @style = "width:130px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        <td>
                            @Html.TextBox("CargoPersonal", "Cargo", new { @style = "width:130px;background:#363D47; color: white;border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        <td>
                            @Html.TextBox("Telefono", "Telefono", new { @style = "width:70px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                        @*<td>
                        @Html.TextBox("Celular", "Celular", new { @style = "width:100px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>*@
                        <td>
                            @Html.TextBox("Estado", "Estado", new { @style = "width:130px; background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                        </td>
                    </tr>
                </table>
                @Html.EditorFor(model => model.Choferes_Details)
            </div>
        <div style="padding-top:50px">
            <div class="titlebar">
                <h3>Terramozos Seleccionados</h3>
            </div>
            @Html.ValidationMessage("ErrorMinTerramozos")

            <table style="background: #363D47">
                <tr>
                    <td>
                        @Html.TextBox("ApellidoPaterno", "Apellido Paterno", new { @style = "width:150px; color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("ApellidoMaterno", "Apellido Materno", new { @style = "width:150px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Nombre", "Nombre", new { @style = "width:130px;color: white;:#363D47;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("DNI", "DNI", new { @style = "width:130px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("CargoPersonal", "Cargo", new { @style = "width:130px;background:#363D47; color: white;border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Telefono", "Telefono", new { @style = "width:70px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    @*<td>
                            @Html.TextBox("Celular", "Celular", new { @style = "width:100px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                        </td>*@
                    <td>
                        @Html.TextBox("Estado", "Estado", new { @style = "width:130px; background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                </tr>
            </table>
            @Html.EditorFor(model => model.Terramozas_Details)

        </div>
        <div style="padding-top:50px">
            <div class="titlebar">
                <h3>Unidad de Transporte Seleccionada</h3>
            </div>
            @Html.ValidationMessage("ErrorMinBuses")

            <table style="background: #363D47">
                <tr>
                    <td>
                        @Html.TextBox("Placa", "Placa", new { @style = "width:150px; color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Año", "Año", new { @style = "width:150px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Tipo", "Tipo", new { @style = "width:150px;color: white;:#363D47;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Ruta", "Ruta", new { @style = "width:250px;background:#363D47; color: white;border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Estado", "Estado", new { @style = "width:70px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                </tr>
            </table>
            @Html.EditorFor(model => model.Buses_Details)

        </div>
        <div style="padding-top:50px">
            <h4><b>Promociones Aplicadas</b></h4>
            <div class="clear"></div>

            <table style="background: #363D47">
                <tr>
                    <td>
                        @Html.TextBox("Descripcion", "Descripcion", new { @style = "width:150px; color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Porcentaje", "Porcentaje de Descuento", new { @style = "width:150px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Puntos", "Puntos Requeridos", new { @style = "width:130px;color: white;:#363D47;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Inicio", "Fecha de Inicio", new { @style = "width:130px;color: white;background:#363D47; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Fin", "Fecha de Fin", new { @style = "width:130px;background:#363D47; color: white;border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Estado", "Estado", new { @style = "width:70px;background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                    <td>
                        @Html.TextBox("Cliente", "Tipo de Cliente", new { @style = "width:130px; background:#363D47;color: white; border: 0px solid #000000", @disabled = "disabled" })
                    </td>
                </tr>
            </table>
            @Html.EditorFor(model => model.Promociones_Details)
        </div>

        <br />
        <p>
            @Html.ActionLink("Modificar", "Edit", new { id = Model.IDProgramacionViaje }) |
            @Html.ActionLink("Regresar al listado", "Index")
        </p>
    </div>
</div>

